package com.example.crm_system.service;

import com.example.crm_system.entity.Business;
import com.example.crm_system.entity.Customer;
import com.example.crm_system.entity.Params;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface BusinessService {

    void insert(Business business);

    void update(Business business);

    void delete(Integer bno);

    List<Business> selectAll();

    List<Business> selectByBno(Integer bno);

    PageInfo<Business> searchBusiness(Params params);
}
